package com.imu.purse.modules.trade.service;

import com.imu.purse.modules.bitcoin.form.YtfcoinForm;
import com.imu.purse.modules.trade.entity.TransLogEntity;
import java.util.List;

/**
 * IMU转账日志表
 * @author sunhongwei
 * @email sunhongwei@jshijian.com
 * @date 2018-07-01 16:21:08
 * Copyright (c) 2017 武汉极时间科技有限公司 版权所有 
 * Jshijian aloha CO.,LTD. All Rights Reserved. 
 */
public interface TransLogService 
{
	/****
	 * 插入IMU转账日志表
	 * @param transLog
 	 * @date 2018-07-01 16:21:08
	 * @return
	 */
    public int save(final TransLogEntity transLog);
    
    /****
	 * 删除IMU转账日志表
	 * @param ids
 	 * @date 2018-07-01 16:21:08
	 * @return
	 */
    public boolean delete(final String... ids);
    
    /****
	 * 修改IMU转账日志表
	 * @param transLog
 	 * @date 2018-07-01 16:21:08
	 * @return
	 */
    public int update(final TransLogEntity transLog);
    
     /****
	 * 插入或跟新IMU转账日志表
	 * @param transLog
 	 * @date 2018-07-01 16:21:08
	 * @return
	 */
    public int saveUpdate(final TransLogEntity transLog);
    
    /****
	 * 根据ID查询IMU转账日志表
	 * @param id
 	 * @date 2018-07-01 16:21:08
	 * @return
	 */
    public TransLogEntity findById(final Long id);
    
    /****
   	 * 分页查询IMU转账日志表
	 * @param transLog
 	 * @date 2018-07-01 16:21:08
   	 * @return
   	 */
    public List<TransLogEntity> queryList(final TransLogEntity transLog);

	/**
	 * A-->A1 A转以太坊到A1
	 * @param form
	 * @return
	 */
	int moYtfLog(final YtfcoinForm form);
}
